Pearson Edexcel · A-Level · Mathematics

    Course version: 603/1499/0 · Version from Sept 2017

    Further Pure Mathematics 2: 5.6 Solution of congruence equations.

    Full specification wording

    Number theory - Paper 4A: Further Pure Mathematics 2: 5.6 Solution of congruence equations.

    Solving a congruence equation such as ax ≡ b (mod m) requires care because division is not always permitted.

    • Point 6 of 7

    Study notes

    From the teaching notes for this specification point.

    The idea

    Solving a congruence equation such as ax ≡ b (mod m) requires care because division is not always permitted. A solution exists exactly when the greatest common divisor g = gcd(a, m) divides b; in that case there are g distinct solutions modulo m. To find them, divide the whole congruence by g to obtain (a/g)x ≡ (b/g) (mod m/g), where a/g is invertible modulo m/g, then multiply by its inverse to get a single residue modulo m/g and list the g solutions modulo m. For example, 6x ≡ 9 (mod 15) has g = 3, so divide by 3 to get 2x ≡ 3 (mod 5), giving x ≡ 4 (mod 5) and hence x ≡ 4, 9, 14 (mod 15). When gcd(a, m) = 1, find the inverse of a using the extended Euclidean algorithm or inspection.

    What earns the marks

    • Computes g = gcd(a, m) and checks whether g divides b.
    • States the number of solutions modulo m as g when the congruence is solvable.
    • Divides the congruence through by g to reach a coprime coefficient.
    • Finds the modular inverse of the reduced coefficient to obtain one residue.
    • Lists all g distinct solutions modulo m in the correct range.

    Common mistakes and how to put them right

    • Divides by a without checking coprimality.

      Put it right: Compute the gcd first.

    • Reports a single solution when g solutions exist modulo m.

      Put it right: List all g residues.

    • Omits the solvability condition and claims no solution when g divides b.

      Put it right: Apply the test correctly.

    • Lists solutions modulo m/g rather than modulo m.

      Put it right: Convert back to the original modulus.

    Exam tips

    • Begin by computing the gcd and stating the solvability conclusion.
    • Show the reduction step dividing coefficient, constant and modulus by g.
    • Verify each listed solution by substitution into the original congruence.

    Try the lesson

    The start of the Number theory - Paper 4A: Further Pure Mathematics 2: 5.6 Solution of congruence equations. lesson, made from teaching notes for this specification point.

    Have a go first

    Solve the linear congruence 3x ≡ 6 (mod 9), giving the complete set of residue classes modulo 9.

    There is more to this lesson

    The full lesson goes on to check your understanding and help you earn the marks. Create a free account to carry on, with your progress saved.

    Carry on with the full lesson

    5 free practice questions every day · Free forever · No card required

    Test your understanding of Number theory - Paper 4A: Further Pure Mathematics 2: 5.6 Solution of congruence equations.

    Active recall beats re-reading. Take an instant quiz now to test what you’ve learned and lock it into long-term memory.

    Take topic quiz

    5 free practice questions every day · Free forever · No card required